/*Hindi LCD for Arduino---by Debjyoti Mandal(danieltombay@gmail.com)*/

#include <LiquidCrystal.h> // Standard LCD library for arduino
#include <HindiV3.h> //library made by me for displaying the hindi characters in LCD

 
LiquidCrystal lcd(12,11,5,4,3,2);
/* LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground*/

void setup()
{
  Serial.begin(9600);  //setting up serial communication
      Serial.println("Please enter the keywords from keyboard.");      
      lcd.begin(16,2);
      lcd.setCursor(6,0);  // setting the LCD cursor at 6th position of 1st line
      lcd.print("Open");
      lcd.setCursor(1,1);
      lcd.print("Serial Monitor");
      delay(1000);
      lcd.clear();
}

void loop()
{
   serialinput(lcd); //calling the serialinput function in my custom library, to display the hindi characters from keyboard
}